package com.ddm.dto.vxDTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.beans.Transient;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ExamDTO {
    //考试名称
    private String examName;
    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    //考试限时（分钟）
    private Integer duration;
    //考试类型
    private Integer examType;
    //考试题目
    private List<QuestionDTO> QuestionList;
    //一等奖比例
    private BigDecimal firstPrizeRatio;
    //二等奖比例
    private BigDecimal secondPrizeRatio;
    //三等奖比例
    private BigDecimal thirdPrizeRatio;

}
